<?php
$host = "localhost";
$user = "root";
$pass = "";
$db ="eeg";
$koneksi = mysql_connect($host, $user, $pass);
if (!$koneksi) {
echo "Koneksi ke server tidak berhasil";
};
$database = mysql_select_db($db);
if (!$database) {
echo "Koneksi ke database tidak berhasil";
}
mysql_select_db($db) or die ("Database not Found !");
?>
			
			<!DOCTYPE html>
<html lang="en">
    <head>
        <meta http-equiv="content-type" content="text/html; charset=UTF-8"> 
        <title>Tes Aritmatika</title>
        <meta name="generator" content="Bootply" />
        <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
        <link href="font-awesome/baruungu/bootstrap.min.css" rel="stylesheet">
        
        <!--[if lt IE 9]>
          <script src="//html5shim.googlecode.com/svn/trunk/html5.js"></script>
        <![endif]-->
<link href="font-awesome/baruungu/font-awesome.min.css" type="text/css" rel="stylesheet">









        <!-- CSS code from Bootply.com editor -->
        
        <style type="text/css">
            html,body {
  height:100%;
}

h1 {
  font-family: Arial,sans-serif
  font-size:80px;
  color:#DDCCEE;
}

.lead {
	color:#DDCCEE;
}


/* Custom container */
.container-full {
  margin: 0 auto;
  width: 100%;
  min-height:100%;
  background-color:#110022;
  color:#eee;
  overflow:hidden;
}

.container-full a {
  color:#efefef;
  text-decoration:none;
}

.v-center {
  margin-top:7%;
}
  
        </style>
    </head>
    
    <!-- HTML code from Bootply.com editor -->
    
    <body  >
        
        <div class="container-full">

      <div class="row">
       
        <div class="col-lg-12 text-center v-center">
          
          <h1>Median Filtering</h1>
          <p class="lead">Silahkan Pilih Sesi yang Akan Diproses dengan Metode Median Filtering</p>
          
          <br><br><br>
          
			
	
          <form class="col-lg-12" method="post" action="aksicarisesimedian.php">
            <div class="input-group" style="width:340px;text-align:center;margin:0 auto;">
            <select class="form-control input-lg" name="sesi" title="select" placeholder="Masukan nama sesi" type="text"> 
			<?php
			$sql = "SELECT * FROM sesi";
$query = mysql_query( $sql );
if(!$query){
    die( mysql_error() );
}

			
	$i = 1;
while ( $rows = mysql_fetch_row($query) ) {
   echo "<option value='$rows[1]'>".$rows[1]."</option>";
   $i++;
}
	?> 
         </select> 
			
		
			
              <span class="input-group-btn"><button class="btn btn-lg btn-primary" type="submit">OK</button></span>
            </div>
          </form>
		  <br>
		  <a href="index.php"><button class="btn"  > Kembali</button></a>
        </div>
        
      </div> <!-- /row -->
  
  	  
  
  	<br><br><br><br><br>

</div> <!-- /container full -->




        
        <script type='text/javascript' src="font-awesome/baruungu/jquery.min.js"></script>


        <script type='text/javascript' src="font-awesome/baruungu/bootstrap.min.js"></script>





        
        <!-- JavaScript jQuery code from Bootply.com editor -->
        
        <script type='text/javascript'>
        
        $(document).ready(function() {
        
            
        
        });
        
        </script>
        
    </body>
</html>
</html>
</html>
			
			